import request from '@/utils/request'

// 查询逸散性排放列表
export function listFugitiveEmissions(query) {
  return request({
    url: '/fugitiveEmissions/fugitiveEmissions/list',
    method: 'get',
    params: query
  })
}

// 查询逸散性排放详细
export function getFugitiveEmissions(id) {
  return request({
    url: '/fugitiveEmissions/fugitiveEmissions/' + id,
    method: 'get'
  })
}

// 新增逸散性排放
export function addFugitiveEmissions(data) {
  return request({
    url: '/fugitiveEmissions/fugitiveEmissions',
    method: 'post',
    data: data
  })
}

// 修改逸散性排放
export function updateFugitiveEmissions(data) {
  return request({
    url: '/fugitiveEmissions/fugitiveEmissions',
    method: 'put',
    data: data
  })
}

// 删除逸散性排放
export function delFugitiveEmissions(id) {
  return request({
    url: '/fugitiveEmissions/fugitiveEmissions/' + id,
    method: 'delete'
  })
}

// 导出逸散性排放
export function exportFugitiveEmissions(query) {
  return request({
    url: '/fugitiveEmissions/fugitiveEmissions/export',
    method: 'get',
    params: query
  })
}